label: Don't clip text shadows
authorBenjamin Otte <otte@redhat.com>
Thu, 31 Jul 2014 14:10:17 +0000 (16:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 31 Jul 2014 15:50:24 +0000 (17:50 +0200)
commita3d1db608b1978a00862bdf4a785839fcf72dae4
tree84a1883b1b93154d295b89459d162741b5a93b83
parenta235dd6a6cd36be27b12078340e2334037fb300b
label: Don't clip text shadows

The previous code for computing the clip rectangle forgot to respect
the text-shadow CSS property. This is usually not very visible because
text shadows usually don't extend the ink rectangle by very much.

See attached testcase for an example.
gtk/gtklabel.c
testsuite/reftests/Makefile.am
testsuite/reftests/label-text-shadow-clipping.ref.ui [new file with mode: 0644]
testsuite/reftests/label-text-shadow-clipping.ui [new file with mode: 0644]